{% extends "admin/base_site.html" %}

{% load i18n admin_modify adminmedia %}

{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="../../../jsi18n/"></script>
{{ media }}
{% endblock %}

{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}

{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}

{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}

{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
     <a href="../">{% trans "Home" %}</a> &rsaquo;
     Sendmail
</div>
{% endif %}{% endblock %}

{% block content %}
<div id="content-main">

<h1>Sendmail</h1>
{% if status %}
    {% ifequal status "success" %}
    <p style="color:#4ccc00; font-size: 150%;">
    Successfully sent your mail.
    </p>
    {% else %}
    <p style="color:#cc0000; font-size: 150%;">
    There was an error while sending your mail: <pre>{{status}}</pre>
    </p>
    {% endifequal %}
{% endif %}
<form action="" method="post">
<table>
{{form}}
<tr><td></td><td><input type="submit" value="Send email"/></td></tr>
</table>
</form>
</div>
{% endblock %}